package com.scs.application.modules.adm.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* @Description：获取询价结果对象
*/
@Data
public class AdmInquiryPull implements Serializable {

    /**
     * 供应商代码
     */
    private String supplierCode;

    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 报价明细
     */
    private List<Item> items;
    /**
     * 相关资质
     */
    private List<Cert> certs;

    @Data
    /**
    * @Description：报价明细
    */
    public static class Item {
        //adm_matr_audit_item.id
        private String refId;
        private String materialName;
        private String materialSpec;
        private Double skuPriceBid;
        private Date bidDate;
        private String bidRemark;
        private String bidStatus;
    }


    @Data
    /**
     * @Description：相关资质
     */
    public static class Cert {
        private String certType;
        private String certName;
        private String[] certUrls;
        private String[] extensionTypes;
    }
}
